package com.xinfu.newproject.view;

import com.xinfu.newproject.bean.home.HomeAdapterBean;

import java.util.List;

public interface HomeAdapterView {
    //数据成功回调的方法,需要数据参数
    public void success(List<HomeAdapterBean> homeAdapterBean);

    //失败,封装的接口(okhttp)里回调一个Exception
    public void fasle(Exception e);


    void getData(HomeAdapterBean homeAdapterBean);
}
